package com.hospital.schedule.module.controller;


import com.hospital.common.base.Result;
import com.hospital.schedule.module.service.ITRegistrationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 挂号预约表 前端控制器
 * </p>
 *
 * @author author
 * @since 2025-09-13
 */
@RestController
//@RequestMapping("/t-registration")
public class TRegistrationController {

    @Autowired
    private ITRegistrationService tRegistrationService;
    /**
     * 查询科室
     */
    @PostMapping("/findRegistration")
    public Result findRegistration(){
        return Result.success(tRegistrationService.list());
    }
}
